
# list1 = ['asad','aaca','addd']
# for i in list1:
#     print(len(i),end = ' ')


#实现 3*4 的转置
matrix = [[1,2,3,4],[5,6,7,8],[9,10,11,12]]
transposed = []
for i in range(4):
    midden = []
    for row in matrix:
        midden.append(row[i])
    transposed.append(midden)
print(transposed)